package com.happyhome.services;

import java.util.List;

import com.happyhome.datamodel.Image;

 
public interface ImageService {
    Image merge(Image image);
    Image getImageById(Long id);
    void deleteImageById(Long id);
    void deleteImage(Image image);
    List<Image> getAllImagesByHouseId(Long houseId);
    List<Image> getAllImagesByRoomId(Long roomId);
    List<Image> getAllImagesFree();
    Image getImageByNewFileName(String fileName);
    List<Image> getListImageByAId(Long aId, String type);
    Image getImageByAIdIsDisplay(Long aId, String type);
    Image getImageNewestAId(Long aId, String type);
    void markImageFormSubmit(Long imageId, String type);
}